<!-- 
  /about

 -->

<template>
  <div>
    <h1>About</h1>
  </div>
</template>

<script lang="ts" setup>
definePageMeta({
  // 当前页面使用哪个路由中间件
  middleware: "hello",
});

const route = useRoute();
console.log("id", route.query.id);
</script>
